package com.daigoudao.web.service;

import java.util.List;

import com.daigoudao.web.model.EvaluateModel;

public interface IEvaluateService {
	
	/**
	 * 查询评价信息
	 * 
	 * @return
	 * @throws Exception
	 */
	public List<EvaluateModel> queryEvaluates(EvaluateModel evaluateModel)
			throws Exception;

	/**
	 * 查询评价记录数
	 * 
	 * @param evaluateModel
	 * @return
	 * @throws Exception
	 */
	public int getEvaluateCount(EvaluateModel evaluateModel) throws Exception;

	/**
	 * 查询综合评价
	 * 
	 * @param productId
	 * @return
	 * @throws Exception
	 */
	public float queryAvgEvaluateLevel(int productId)
			throws Exception;
}
